package com.buaa.aimall.modelModule.Converter;

import com.buaa.aimall.modelModule.DTO.ModelDTO;
import com.buaa.aimall.modelModule.Entity.ModelEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface ModelConvert {
    ModelConvert INSTANCE = Mappers.getMapper(ModelConvert.class);

    ModelEntity createModelDTOToEntity(ModelDTO dto);
}
